package com.jindy.module.AssetReceive.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.jindy.common.annotation.Excel;
import com.jindy.common.core.domain.BaseEntity;

/**
 * 资产领用对象 asset_receive
 *
 * @author jindy
 * @date 2023-04-20
 */
public class AssetReceive extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增id */
    private Long id;

    /** 领用物品id */
    @Excel(name = "领用物品id")
    private Long receiveAssetId;

    /** 领用物品名称 */
    @Excel(name = "领用物品名称")
    private String receiveAssetName;

    /** 物品类别名称 */
    @Excel(name = "物品类别名称")
    private String receiveClassName;

    /** 品牌 */
    @Excel(name = "品牌")
    private String receiveAssetBrand;

    /** 规格型号 */
    @Excel(name = "规格型号")
    private String receiveAssetModel;

    /** 数量 */
    @Excel(name = "数量")
    private Long receiveQuantity;

    /** 领用时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "领用时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date getTime;

    /** 用途 */
    @Excel(name = "用途")
    private String receiveUse;

    /** 领用人id */
    @Excel(name = "领用人id")
    private Long receiveUserId;

    /** 领用人名称 */
    @Excel(name = "领用人名称")
    private String receiveUserName;

    /** 领用人部门id
     */
    @Excel(name = "领用人部门id")
            private Long receiveDeptId;

    /** 领用人部门名称 */
    @Excel(name = "领用人部门名称")
    private String receiveDeptName;

    /** 是否需归还 */
    @Excel(name = "是否需归还")
    private String isNeedReturn;

    /** 审核状态*/
    @Excel(name = "审核状态")
    private String approval;

    /** 删除标志 */
    private String delFlag;

    /** 是否归还 */
    @Excel(name = "是否归还")
    private String isReturn;

    /** 归还时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "归还时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date returnTime;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setReceiveAssetId(Long receiveAssetId)
    {
        this.receiveAssetId = receiveAssetId;
    }

    public Long getReceiveAssetId()
    {
        return receiveAssetId;
    }
    public void setReceiveAssetName(String receiveAssetName)
    {
        this.receiveAssetName = receiveAssetName;
    }

    public String getReceiveAssetName()
    {
        return receiveAssetName;
    }
    public void setReceiveClassName(String receiveClassName)
    {
        this.receiveClassName = receiveClassName;
    }

    public String getReceiveClassName()
    {
        return receiveClassName;
    }
    public void setReceiveAssetBrand(String receiveAssetBrand)
    {
        this.receiveAssetBrand = receiveAssetBrand;
    }

    public String getReceiveAssetBrand()
    {
        return receiveAssetBrand;
    }
    public void setReceiveAssetModel(String receiveAssetModel)
    {
        this.receiveAssetModel = receiveAssetModel;
    }

    public String getReceiveAssetModel()
    {
        return receiveAssetModel;
    }
    public void setReceiveQuantity(Long receiveQuantity)
    {
        this.receiveQuantity = receiveQuantity;
    }

    public Long getReceiveQuantity()
    {
        return receiveQuantity;
    }
    public void setGetTime(Date getTime)
    {
        this.getTime = getTime;
    }

    public Date getGetTime()
    {
        return getTime;
    }
    public void setReceiveUse(String receiveUse)
    {
        this.receiveUse = receiveUse;
    }

    public String getReceiveUse()
    {
        return receiveUse;
    }
    public void setReceiveUserId(Long receiveUserId)
    {
        this.receiveUserId = receiveUserId;
    }

    public Long getReceiveUserId()
    {
        return receiveUserId;
    }
    public void setReceiveUserName(String receiveUserName)
    {
        this.receiveUserName = receiveUserName;
    }

    public String getReceiveUserName()
    {
        return receiveUserName;
    }
    public void setReceiveDeptId(Long receiveDeptId)
    {
        this.receiveDeptId = receiveDeptId;
    }

    public Long getReceiveDeptId()
    {
        return receiveDeptId;
    }
    public void setReceiveDeptName(String receiveDeptName)
    {
        this.receiveDeptName = receiveDeptName;
    }

    public String getReceiveDeptName()
    {
        return receiveDeptName;
    }
    public void setIsNeedReturn(String isNeedReturn)
    {
        this.isNeedReturn = isNeedReturn;
    }

    public String getIsNeedReturn()
    {
        return isNeedReturn;
    }
    public void setApproval(String approval)
    {
        this.approval = approval;
    }

    public String getApproval()
    {
        return approval;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }
    public void setIsReturn(String isReturn)
    {
        this.isReturn = isReturn;
    }

    public String getIsReturn()
    {
        return isReturn;
    }
    public void setReturnTime(Date returnTime)
    {
        this.returnTime = returnTime;
    }

    public Date getReturnTime()
    {
        return returnTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("receiveAssetId", getReceiveAssetId())
                .append("receiveAssetName", getReceiveAssetName())
                .append("receiveClassName", getReceiveClassName())
                .append("receiveAssetBrand", getReceiveAssetBrand())
                .append("receiveAssetModel", getReceiveAssetModel())
                .append("receiveQuantity", getReceiveQuantity())
                .append("getTime", getGetTime())
                .append("receiveUse", getReceiveUse())
                .append("receiveUserId", getReceiveUserId())
                .append("receiveUserName", getReceiveUserName())
                .append("receiveDeptId", getReceiveDeptId())
                .append("receiveDeptName", getReceiveDeptName())
                .append("isNeedReturn", getIsNeedReturn())
                .append("approval", getApproval())
                .append("createTime", getCreateTime())
                .append("createBy", getCreateBy())
                .append("updateTime", getUpdateTime())
                .append("updateBy", getUpdateBy())
                .append("delFlag", getDelFlag())
                .append("remark", getRemark())
                .append("isReturn", getIsReturn())
                .append("returnTime", getReturnTime())
                .toString();
    }
}
